package base

// 应用---管理租户
type Application struct {
	IDColumn
	TimeColumn
	SortColumn
	Name     string       `json:"name" gorm:"default:'';not null;uniqueIndex;comment:应用名称"`
	Children []*TenancyDB `json:"children" gorm:"foreignKey:ApplicationID;reference:ID;constraint:OnDelete:CASCADE"`
}
